import { createStore } from 'vuex'
import category from './modules/category'
import home from './modules/home'
import persistedstate from 'vuex-persistedstate'
import product from './modules/product'

export default createStore({
  state: {},
  mutations: {},
  actions: {},
  modules: {
    category,
    home,
    product
  },
  plugins: [
    persistedstate({
      key: 'xxxxx123',
      paths: []
    })
  ]
})
